﻿using Furion;
using Furion.Schedule;

namespace WesJob;

[AppStartup(600)]
public class Startup : AppStartup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddSchedule(options =>
        {
            options.AddJob<CounterJob>(Triggers.PeriodMinutes(1));
        });
    }
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        app.UseScheduleUI(options =>
        {
        });
    }
}
